import request from '@/utils/request'

// 查询防火检查基础信息列表
export function listFireInfo(query) {
  return request({
    url: '/fireInfo/list',
    method: 'get',
    params: query
  })
}

// 查询防火检查基础信息详细
export function getFireInfo(id) {
  return request({
    url: '/fireInfo/' + id,
    method: 'get'
  })
}

// 新增防火检查基础信息
export function addFireInfo(data) {
  return request({
    url: '/fireInfo',
    method: 'post',
    data: data
  })
}

// 修改防火检查基础信息
export function updateFireInfo(data) {
  return request({
    url: '/fireInfo',
    method: 'put',
    data: data
  })
}

// 删除防火检查基础信息
export function delFireInfo(id) {
  return request({
    url: '/fireInfo/' + id,
    method: 'delete'
  })
}
